package bean;


import java.util.ArrayList;
import java.util.List;

import util.FilterPopupUtils;

public class ShaixuanallBean {

    private int code;
    private String msg;
    private String time;
    private List<DataBean> data;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public String getTime() {
        return time;
    }

    public void setTime(String time) {
        this.time = time;
    }

    public List<DataBean> getData() {
        return data;
    }

    public void setData(List<DataBean> data) {
        this.data = data;
    }

    public static class DataBean {
        private String attr_name;
        private int id;
        private int child;
        private String attr_tran;
        private String remark;
        private int sort;
        private int type;
        private int is_del;
        private int import_id;
        private int updatetime;
        private int createtime;
        private List<AttrListBean> attr_list;
        private List<ShaixuanallBean.DataBean.AttrListBean> selected = new ArrayList<>();
        private boolean expanded = false;
        private FilterPopupUtils.Custom custom;

        public FilterPopupUtils.Custom getCustom() {
            return custom;
        }

        public void setCustom(FilterPopupUtils.Custom custom) {
            this.custom = custom;
        }

        public boolean isExpanded() {
            return expanded;
        }

        public void setExpanded(boolean expanded) {
            this.expanded = expanded;
        }

        public List<ShaixuanallBean.DataBean.AttrListBean> getSelected() {
            return selected;
        }

        public void setSelected(List<ShaixuanallBean.DataBean.AttrListBean> selected) {
            this.selected = selected;
        }

        public String getAttr_name() {
            return attr_name;
        }

        public void setAttr_name(String attr_name) {
            this.attr_name = attr_name;
        }

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public int getChild() {
            return child;
        }

        public void setChild(int child) {
            this.child = child;
        }

        public String getAttr_tran() {
            return attr_tran;
        }

        public void setAttr_tran(String attr_tran) {
            this.attr_tran = attr_tran;
        }

        public String getRemark() {
            return remark;
        }

        public void setRemark(String remark) {
            this.remark = remark;
        }

        public int getSort() {
            return sort;
        }

        public void setSort(int sort) {
            this.sort = sort;
        }

        public int getType() {
            return type;
        }

        public void setType(int type) {
            this.type = type;
        }

        public int getIs_del() {
            return is_del;
        }

        public void setIs_del(int is_del) {
            this.is_del = is_del;
        }

        public int getImport_id() {
            return import_id;
        }

        public void setImport_id(int import_id) {
            this.import_id = import_id;
        }

        public int getUpdatetime() {
            return updatetime;
        }

        public void setUpdatetime(int updatetime) {
            this.updatetime = updatetime;
        }

        public int getCreatetime() {
            return createtime;
        }

        public void setCreatetime(int createtime) {
            this.createtime = createtime;
        }

        public List<AttrListBean> getAttr_list() {
            if (attr_list == null) {
                attr_list = new ArrayList<>();
            }
            return attr_list;
        }

        public void setAttr_list(List<AttrListBean> attr_list) {
            this.attr_list = attr_list;
        }

        public static class AttrListBean {
            private String attr_value;
            private int id;
            private int kind_id;
            private String attr_tran;
            private int sort;
            private int createtime;
            private int updatetime;
            private int p_id;
            private List<AttrList2Bean> attr_list2;

            private List<AttrList2Bean> selected = new ArrayList<>();

            public List<AttrList2Bean> getSelected() {
                return selected;
            }

            public void setSelected(List<AttrList2Bean> selected) {
                this.selected = selected;
            }

            private boolean expand = false;

            public boolean isExpand() {
                return expand;
            }

            public void setExpand(boolean expand) {
                this.expand = expand;
            }

            public String getAttr_value() {
                return attr_value;
            }

            public void setAttr_value(String attr_value) {
                this.attr_value = attr_value;
            }

            public int getId() {
                return id;
            }

            public void setId(int id) {
                this.id = id;
            }

            public int getKind_id() {
                return kind_id;
            }

            public void setKind_id(int kind_id) {
                this.kind_id = kind_id;
            }

            public String getAttr_tran() {
                return attr_tran;
            }

            public void setAttr_tran(String attr_tran) {
                this.attr_tran = attr_tran;
            }

            public int getSort() {
                return sort;
            }

            public void setSort(int sort) {
                this.sort = sort;
            }

            public int getCreatetime() {
                return createtime;
            }

            public void setCreatetime(int createtime) {
                this.createtime = createtime;
            }

            public int getUpdatetime() {
                return updatetime;
            }

            public void setUpdatetime(int updatetime) {
                this.updatetime = updatetime;
            }

            public int getP_id() {
                return p_id;
            }

            public void setP_id(int p_id) {
                this.p_id = p_id;
            }

            public List<AttrList2Bean> getAttr_list2() {
                if (attr_list2 == null) {
                    attr_list2 = new ArrayList<>();
                }
                return attr_list2;
            }

            public void setAttr_list2(List<AttrList2Bean> attr_list2) {
                this.attr_list2 = attr_list2;
            }

            public static class AttrList2Bean {
                private String attr_value;
                private int id;
                private int kind_id;
                private String attr_tran;
                private int sort;
                private int createtime;
                private int updatetime;

                public String getAttr_value() {
                    return attr_value;
                }

                public void setAttr_value(String attr_value) {
                    this.attr_value = attr_value;
                }

                public int getId() {
                    return id;
                }

                public void setId(int id) {
                    this.id = id;
                }

                public int getKind_id() {
                    return kind_id;
                }

                public void setKind_id(int kind_id) {
                    this.kind_id = kind_id;
                }

                public String getAttr_tran() {
                    return attr_tran;
                }

                public void setAttr_tran(String attr_tran) {
                    this.attr_tran = attr_tran;
                }

                public int getSort() {
                    return sort;
                }

                public void setSort(int sort) {
                    this.sort = sort;
                }

                public int getCreatetime() {
                    return createtime;
                }

                public void setCreatetime(int createtime) {
                    this.createtime = createtime;
                }

                public int getUpdatetime() {
                    return updatetime;
                }

                public void setUpdatetime(int updatetime) {
                    this.updatetime = updatetime;
                }
            }
        }
    }
}
